import {createRouter,createWebHashHistory} from 'vue-router'
import dynamicRoutes from './dynamicRoutes.js'

// console.log(dynamicRoutes);
let routes =[

    {
      path:'/:page404(.*)*',
      component:()=>import('../page/page404/index.vue'),
    },
    {
        path:'/login',
        component:()=>import('../page/login/index.vue'),
    }
]

let router = createRouter({
    routes,
    history:createWebHashHistory()
})
export default router